package com.woniu.entity;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

@Table(name = "t_order")
public class Order implements Serializable {
	
	
	
    @Override
	public String toString() {
		return "Order [oid=" + oid + ", ordergenerateid=" + ordergenerateid + ", uBid=" + uBid + ", uSid=" + uSid
				+ ", getid=" + getid + ", dealprice=" + dealprice + ", commision=" + commision + ", ordertotalprice="
				+ ordertotalprice + ", dealtime=" + dealtime + ", gid=" + gid + ", buycount=" + buycount
				+ ", orderstatus=" + orderstatus + ", paymentchannel=" + paymentchannel + ", ordertrade=" + ordertrade
				+ "]";
	}

	@Id
    private Integer oid;

    @Column(name = "orderGenerateId")
    private String ordergenerateid;

    @Column(name = "u_bid")
    private Integer uBid;

    @Column(name = "u_sid")
    private Integer uSid;

    private Integer getid;

    @Column(name = "dealPrice")
    private Double dealprice;

    private Double commision;

    @Column(name = "orderTotalPrice")
    private Double ordertotalprice;

    @Column(name = "dealTime")
    private Date dealtime;

    private Integer gid;

    @Column(name = "buyCount")
    private Integer buycount;

    @Column(name = "orderStatus")
    private String orderstatus;

    @Column(name = "paymentChannel")
    private String paymentchannel;

    @Column(name = "orderTrade")
    private String ordertrade;

    private static final long serialVersionUID = 1L;

    /**
     * @return oid
     */
    public Integer getOid() {
        return oid;
    }

    /**
     * @param oid
     */
    public void setOid(Integer oid) {
        this.oid = oid;
    }

    /**
     * @return orderGenerateId
     */
    public String getOrdergenerateid() {
        return ordergenerateid;
    }

    /**
     * @param ordergenerateid
     */
    public void setOrdergenerateid(String ordergenerateid) {
        this.ordergenerateid = ordergenerateid;
    }

    /**
     * @return u_bid
     */
    public Integer getuBid() {
        return uBid;
    }

    /**
     * @param uBid
     */
    public void setuBid(Integer uBid) {
        this.uBid = uBid;
    }

    /**
     * @return u_sid
     */
    public Integer getuSid() {
        return uSid;
    }

    /**
     * @param uSid
     */
    public void setuSid(Integer uSid) {
        this.uSid = uSid;
    }

    /**
     * @return getid
     */
    public Integer getGetid() {
        return getid;
    }

    /**
     * @param getid
     */
    public void setGetid(Integer getid) {
        this.getid = getid;
    }

    /**
     * @return dealPrice
     */
    public Double getDealprice() {
        return dealprice;
    }

    /**
     * @param dealprice
     */
    public void setDealprice(Double dealprice) {
        this.dealprice = dealprice;
    }

    /**
     * @return commision
     */
    public Double getCommision() {
        return commision;
    }

    /**
     * @param commision
     */
    public void setCommision(Double commision) {
        this.commision = commision;
    }

    /**
     * @return orderTotalPrice
     */
    public Double getOrdertotalprice() {
        return ordertotalprice;
    }

    /**
     * @param ordertotalprice
     */
    public void setOrdertotalprice(Double ordertotalprice) {
        this.ordertotalprice = ordertotalprice;
    }

    /**
     * @return dealTime
     */
    public Date getDealtime() {
        return dealtime;
    }

    /**
     * @param dealtime
     */
    public void setDealtime(Date dealtime) {
        this.dealtime = dealtime;
    }

    /**
     * @return gid
     */
    public Integer getGid() {
        return gid;
    }

    /**
     * @param gid
     */
    public void setGid(Integer gid) {
        this.gid = gid;
    }

    /**
     * @return buyCount
     */
    public Integer getBuycount() {
        return buycount;
    }

    /**
     * @param buycount
     */
    public void setBuycount(Integer buycount) {
        this.buycount = buycount;
    }

    /**
     * @return orderStatus
     */
    public String getOrderstatus() {
        return orderstatus;
    }

    /**
     * @param orderstatus
     */
    public void setOrderstatus(String orderstatus) {
        this.orderstatus = orderstatus;
    }

    /**
     * @return paymentChannel
     */
    public String getPaymentchannel() {
        return paymentchannel;
    }

    /**
     * @param paymentchannel
     */
    public void setPaymentchannel(String paymentchannel) {
        this.paymentchannel = paymentchannel;
    }

    /**
     * @return orderTrade
     */
    public String getOrdertrade() {
        return ordertrade;
    }

    /**
     * @param ordertrade
     */
    public void setOrdertrade(String ordertrade) {
        this.ordertrade = ordertrade;
    }
}